package com.ruoyi.school.mapper;

import com.ruoyi.school.domain.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.school.domain.vo.HonorWallTopThreeVo;
import com.ruoyi.school.domain.vo.SchoolHonorVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author jeremylin
* @description 针对表【student(学生)】的数据库操作Mapper
* @createDate 2025-05-24 16:57:35
* @Entity com.ruoyi.school.domain.Student
*/
public interface StudentMapper extends BaseMapper<Student> {

    /**
     * 获取有荣誉的学生
     * @param student
     * @return
     */
    List<Student> getHonorList(@Param("stuDomain") Student student);

    /**
     * 获取学校荣誉
     * @param student
     * @return
     */
    List<SchoolHonorVo> getSchoolHonor(@Param("student") Student student);

    List<HonorWallTopThreeVo> getHonorList2(@Param("stuDomain") Student student);
}




